package com.common.frame.customBean

import com.common.frame.bean.DiffBean
import java.io.Serializable

/**
 * HostInfoBean
 * create by sunxy on 2021/2/6
 **/
data class HostInfoBean(
        var tenantId: String = "",
        var host: String = "",
        var apiPort: String = "",
        var userId: String = "",
        var userName: String = "",
        var unCompleteMissions: List<CompleteMissions>? = null,
): Serializable, DiffBean {
        override fun getAdapterType() = 0
}

/**
 * CompleteMissions
 * create by sunxy on 2021/2/6
 **/
data class CompleteMissions(
        var tenantId: String = "",
        var missionId: String = "",
        var host: String = "",
        var apiPort: Int = 0,
        var subServiceId: String = "",
        var subServiceHost: String = "",
        var subServiceApiPort: Int = 0
): Serializable, DiffBean {
        override fun getAdapterType() = 0
}